<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="_csrf" th:content="${_csrf.token}"/>
    <meta name="_csrf_header" th:content="${_csrf.headerName}"/>
    <title>闲言文章推荐</title>
    <link th:include="fragment/import :: import">
    <link rel="stylesheet" th:href="@{/static/css/admin.css}">
</head>
<body id="articleData">

<div class="layui-tab layui-tab-card">
    <div class="layui-tab-content">
        <table class="layui-hide" id="passRecommend" lay-filter="test"></table>
    </div>
</div>
</body>
<script type="text/html" id="toolbarEdit">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="editRecommend">新增</button>
    </div>
</script>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="commend">推荐</a>
</script>
<script type="text/html" id="recommendBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="cancelRecommend">取消推荐</a>
</script>
<script>
    layui.config({
        base: '../../static/js/admin/recommend/'
    }).extend({ //设定模块别名
        pass: 'recommend' //如果 mymod.js 是在根目录，也可以不用设定别名
    }).use('recommend');
</script>
</html>